package com.shop.technicalservice.dao.user;

import java.util.List;

import com.shop.technicalservice.model.user.Users;

public interface UsersDao {
	
	public Users save(Users transientInstance) throws Exception;
	
	public void delete(Users persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Users merge(Users detachedInstance) throws Exception;
	
	public Users findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Users instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(Users instance)  throws Exception;
	
	public void attachClean(Users instance)  throws Exception;
	
	public List findByName(Object name) throws Exception;
	
	public List findByPwd(Object pwd) throws Exception;
	
	public List findByQuestion(Object question) throws Exception;
	
	public List findByResult(Object result) throws Exception;
	
	public List findBySaftyCode(Object saftyCode) throws Exception;
	
	
	
	
}
